module.exports = {
    chainWebpack: config => {
        config.module.rule('pug')
            .test(/\.pug$/)
            .use('pug-plain-loader')
            .loader('pug-plain-loader')
            .end()
    },
    css: {
        loaderOptions: {
            stylus: {},
            sass: {
            },
            scss: {
                prependData: `@import "~@/variables.scss";
            }
        }
    }

}
